New Window



Do you have a link that you'd rather have open in a new window? This little script will do just that! You can even use a button or a text link to open the new window! Check out the example and see what you think!

--------------------------------------------------------------------------------
 

<!-- TWO STEPS TO INSTALL NEW WINDOW:

   1.  Copy the first coding into the HEAD of your HTML document
   2.  Paste the last code in the BODY of your HTML document  -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
}
// End -->
</SCRIPT>

</HEAD>

<!-- STEP ONE: Paste this code into the BODY of your HTML document  -->

<BODY>

<center>
<form>
<input type=button onClick="Start('http://javascriptsource.com')" value="Open javascriptsource.com">
</form>
or<P>
<a href="javascript:Start('http://javascriptsource.com')";>Open javascriptsource.com</a>
</center>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  0.96 KB  -->
